bitkeeper revision 1.501 (3f86e24efokzHYQdPBVew6ZStP9mLg)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Fri, 10 Oct 2003 16:46:06 +0000 (16:46 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Fri, 10 Oct 2003 16:46:06 +0000 (16:46 +0000)
ParseVbdCreate.java:
  Fix vbdcreate xenctl call to attach vbds to dom0.

tools/control/src/org/xenoserver/cmdline/ParseVbdCreate.java

index ca59ee3c71bd212ab8839b7d1350ee056be62d61..cec289bcf780b0c24e9dffdebeeb77b3654f5dfc 100644 (file)
@@ -21,9 +21,6 @@ public class ParseVbdCreate extends CommandParser {
         if (vd_key.equals("") && partition_name.equals("")) {
             throw new ParseFailedException("Expected -k<key> or -p<partition>");
         }
-        if (domain_id == 0) {
-            throw new ParseFailedException("Expected -n<domain_id>");
-        }
         if (vbd_num == -1) {
             throw new ParseFailedException("Expected -v<vbd_num>");
         }